home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / JAVA_UTL / MOCHA / README.TXT < prev    next >
Encoding:
Text File  |  1996-06-16  |  1.9 KB  |  49 lines

  1.  
  2. MOCHA - the Java decompiler - version beta 1
  3.  
  4.  
  5. 1. LEGAL CRAP
  6.  
  7. Mocha is copyright 1995, 1996 by Hanpeter van Vliet
  8.  
  9. Use at your own risk. I do not guarantee the fitness of Mocha for any purpose, and I do not accept responsibility for any damage you do to yourself or others by using Mocha.
  10.  
  11. The distribution archive (file "mocha-b1.zip") may be distributed freely, provided its contents ("mocha.zip" and this file, "readme.txt") are not tampered with in any way.
  12.  
  13. 2. INSTALLATION
  14.  
  15. There is no need to unzip the "mocha.zip" file contained in the distribution zip file; Java knows how to get .class files out of zip files. Simply put "mocha.zip" in a safe place, for instance the JDK directory.
  16.  
  17. Add the full pathname of "mocha.zip" to your CLASSPATH string, for instance:
  18.  
  19.     SET CLASSPATH=c:\myclasses;c:\jdk\mocha.zip
  20.  
  21. 3. INVOCATION
  22.  
  23. Mocha is invoked from the commandline (i.e. DOS box, if you're using Win95) like this:
  24.  
  25.     java mocha.Decompiler [-v] [-o] Class1.class Class2.class ...
  26.  
  27. Where
  28.    "java"               invokes the Java virtual machine,
  29.    "mocha.Decompiler"   (note the case!) specifies the class to run,
  30.    "-v"                 optionally specifies verbose output,
  31.    "-o"                 optionally overwrites existing .mocha files,
  32.    "ClassX.class"       specifies the .class file(s) to decompile.
  33.  
  34. Wildcards (* and ?) are accepted.
  35.  
  36. 4. SUPPORT
  37.  
  38. Mocha is quite useable but far from perfect, I know. It's only a beta, so be gentle with it! There may be cases where Mocha gets confused and it will tell you so. I will continue to improve Mocha to deal with such situations, and to keep up with evolving Java technology.
  39.  
  40. Improved versions of Mocha will first be made available on 
  41.  
  42.     http://www.inter.nl.net/users/H.P.van.Vliet/mocha.htm
  43.  
  44. Problems can be reported via the form at
  45.  
  46.     http://www.inter.nl.net/users/H.P.van.Vliet/problem.htm
  47.  
  48.  
  49.